package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.common.model.PageResult;
import com.jzo2o.customer.model.domain.AgencyCertificationAudit;
import com.jzo2o.customer.model.dto.request.AgencyCertificationAuditPageQueryReqDTO;
import com.jzo2o.customer.model.dto.response.AgencyCertificationAuditResDTO;

/**
 * <p>
 * 机构认证信息表 服务类
 * </p>
 *
 * @author itcast
 * @since 2023-09-06
 */
public interface IAgencyCertificationAuditService extends IService<AgencyCertificationAudit> {

    /**
     * 分页查询
     *
     * @param dto 查询条件
     * @return 分页结果
     */
    PageResult<AgencyCertificationAuditResDTO> page(AgencyCertificationAuditPageQueryReqDTO dto);

    /**
     * 机构认证审核
     * @param id
     * @param rejectReason
     * @param certificationStatus
     */
    void audit(Long id, String rejectReason, Integer certificationStatus);

}
